package com.example.rxbus.bean;

import java.util.List;

/**
 * @author By Resolusion
 * @Title:
 * @Date: 2020/5/15
 * @Time: 11:14
 * @email Res01ution@foxmail.com
 */
public class DinnerEvent<T> {
    private String msg;
    private T obj;
    private int code;
    private List<Float> list;

    public DinnerEvent(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public DinnerEvent() {

    }

    public DinnerEvent(T obj, int code) {
        this.obj = obj;
        this.code = code;
    }

    public DinnerEvent(T obj) {
        this.obj = obj;
    }

    public DinnerEvent(String msg) {
        this.msg = msg;
    }

    public DinnerEvent(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<Float> getList() {
        return list;
    }

    public void setList(List<Float> list) {
        this.list = list;
    }
}
